package com.example.mybatisplus.stock.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zwzheng
 * @since 2021-05-01
 */
@Builder
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("stock_log")
@ApiModel(value="StockLog对象", description="")
public class StockLog extends Model<StockLog> {

    private static final long serialVersionUID = 1L;

    private String seqId;

    private String productName;

    private String productId;

    private String productSize;

    private String buyId;

    private String createUser;

    private LocalDateTime createTime;

    private String updateUser;

    private LocalDateTime updateTime;

    @ApiModelProperty(value = "1：入库，0 出库")
    private String fluDirection;

    private Integer quantity;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
